package SQL.plan;

import SQL.abysnSQL.ColName;
import SQL.abysnSQL.HvCondition;
import SQL.abysnSQL.SelectExpList;
import SQL.scan.GroupByScan;
import SQL.scan.Scan;
import Transaction.Transaction;

public class GroupbyPlan extends Plan {

	/**
	 * @param p
	 * @param sellist
	 * @param string
	 * @param dbname
	 * @param hving
	 * @param tx
	 * @throws Exception 
	 */
	public GroupbyPlan(Plan p, SelectExpList sellist, String colName,
			String dbname, HvCondition hving, Transaction tx) throws Exception {
		scan = new GroupByScan(p.open(),new ColName(colName),dbname,sellist,hving,tx);
	}

}
